package com.zou.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zou.model.entity.User;
import com.zou.model.mapper.UserMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*
 * @auth zoujt
 * @date 2021/3/17
 * @Description
 */

public interface UserService extends IService<User>{

    List<User> findAll();

    int addUser(User user);

    int delete(Long id);

    int update(User user);

    User findById(@Param("id") Long id);



    List<User> listAll();

    User getOne1(Long id);
}
